home *** CD-ROM | disk | FTP | other *** search
/ All for Cell Phones: Sony Ericsson / Sony-Ericsson 2004.iso / Java / Enigma / 116066.jar / example / formike / ForMikeMIDlet.class (.txt)
Encoding:
Java Class File  |  2002-06-13  |  1.7 KB  |  37 lines

  1. package example.formike;
  2.  
  3. import javax.microedition.lcdui.Display;
  4. import javax.microedition.midlet.MIDlet;
  5.  
  6. public class ForMikeMIDlet extends MIDlet {
  7.    // $FF: renamed from: d c
  8.    public c field_0 = new c(this, Display.getDisplay(this));
  9.    // $FF: renamed from: c b
  10.    public b field_1 = new b(this, "Enigma", new String[]{"The aim of Enigma is to place as many pieces on the board as possible. Each time a complete horizontal or vertical line is formed, it is cleared from the board giving you more room to put down extra pieces. The game will end when you run out of space. The '2', '4', '6' and '8' buttons can be used to move the current object, as can the directional keypad if your phone has one. Pressing '5' places the object, and '1', '7', '3' and '9' are used to rotate it. The bar at the side shows you how long you have before you are forced to drop the current piece. The next piece is shown in the top-right hand corner. Look out for the circular erasers and the flashing bombs which are useful in clearing pieces. Pressing '*' will restart the game."});
  11.  
  12.    // $FF: renamed from: c () void
  13.    public final void method_0() {
  14.       this.field_0.d();
  15.       Display.getDisplay(this).setCurrent(this.field_1);
  16.    }
  17.  
  18.    public final void startApp() {
  19.       Display.getDisplay(this).setCurrent(this.field_0);
  20.       this.field_0.e();
  21.    }
  22.  
  23.    public final void pauseApp() {
  24.       this.field_0.d();
  25.    }
  26.  
  27.    public final void destroyApp(boolean var1) {
  28.       this.field_0.d();
  29.    }
  30.  
  31.    // $FF: renamed from: b () void
  32.    public final void method_1() {
  33.       this.destroyApp(false);
  34.       ((MIDlet)this).notifyDestroyed();
  35.    }
  36. }
  37.